package com.ruoyi.map.service.impl;

import com.ruoyi.map.domain.FhInviteRecord;
import com.ruoyi.map.mapper.FhInviteRecordMapper;
import com.ruoyi.map.service.IFhInviteRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author sangsijing
 * @since 2025/5/6 9:24
 */
@Service
public class FhInviteRecordServicelImpl implements IFhInviteRecordService {

    @Autowired
    private FhInviteRecordMapper fhInviteRecordMapper;

    @Override
    public int sendInvite(FhInviteRecord inviteRecord) {
        return fhInviteRecordMapper.sendInvite(inviteRecord);
    }

    @Override
    public int onAgreeInvite(FhInviteRecord inviteRecord) {
        return fhInviteRecordMapper.onAgreeInvite(inviteRecord);
    }
}
